using System;
using System.Collections.Generic;
using System.Text;

namespace IGlobalist.Cms.Model
{
    public class CategoryXML
    {
        public CategoryXML()
        {
        }

        public CategoryXML(long id, string name, string description, string url, long parent, IList<long> subs)
        {
            _Id = id;
            _Name = name;
            _Description = description;
            _Url = url;
            _Parent = parent;
            _Subs = subs;
        }

        protected long _Id = 0;
        public long Id
        {
            get
            { return _Id; }
            set { _Id = value; }
        }

        protected string _Name;
        public string Name
        {
            get
            {
                return _Name;
            }
            set
            {
                _Name = value;
            }
        }

        protected string _Description;
        public string Description
        {
            get
            {
                return _Description;
            }
            set { _Description = value; }
        }

        protected string _Url;
        public string Url
        {
            get
            {
                return _Url;
            }
            set { _Url = value; }
        }

        protected IList<long> _Subs;
        public IList<long> Subs
        {
            get
            {
                return _Subs;
            }
            set { _Subs = value; }
        }

        protected long _Parent;

        public long Parent
        {
            get
            {
                return _Parent;
            }
            set { _Parent = value; }
        }
    }
}
